<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <%@include file="/view/resource.jsp" %>
  </head>
  <body class="easyui-layout">
  	 <!-- Search panel start -->
 	 <div class="ui-search-panel" region="north" style="height: 80px;" title="过滤条件" data-options="striped: false,collapsible:false,iconCls:'icon-search',border:false" >   
 	 <form id="searchForm">
 	 	<input class="hidden" id='search_parentId' name="parentId">
 	 	<p class="ui-fields">
            <label class="ui-label">月份:</label> 
            <input class='easyui-datebox' name='hsaMonth' id="dd"/>
        </p>
        <p class="ui-fields">
            <label class="ui-label">姓名:</label>
            <input name="hrName" class="easyui-box ui-text" style="width:100px;">
        </p>
        
        <a id="btn-search" class="easyui-linkbutton" iconCls="icon-search">查询</a>
      </form>
     </div>
     <!--  Search panel end -->
     <!-- DataList  -->
	 <div region="center" border="false" >
     	<table id="data-list" ></table>
     </div>
    
     <!-- Edit Win&From -->
     <div id="edit-win" class="easyui-dialog" title="Edit Menu" data-options="closed:true,iconCls:'icon-save',modal:true"  style="width:500px;height:450px;">  
     	<form id="editForm" class="ui-form" method="post"> 
     	 <!-- 隐藏文本框 -->
     	 <input class="hidden" name="id">
     	 <input class="hidden" name="deleted">
    	 <input class="hidden" name="parentId" id='edit_parentId'>
    	 <div class="ui-edit"> 
	               <div class="ftitle">详细</div>    
		           <div class="fitem">  
		               <label>工资结算月份:</label>  
		               <input class="easyui-validatebox" type="text" name="hsaMonth" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>提留部分:</label>  
		               <input class="easyui-validatebox" type="text" name="hsaPushmoney" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>绩效/提成:</label>  
		               <input class="easyui-validatebox" type="text" name="hsaPerformance" data-options="required:true">
		           </div>  
		           <!-- <div class="fitem">  
		               <label>补贴ID:</label>  
		               <input class="easyui-validatebox" type="text" name="hsuId" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>补贴合计:</label>  
		               <input class="easyui-validatebox" type="text" name="hsuAccount" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>应发ID:</label>  
		               <input class="easyui-validatebox" type="text" name="hfaId" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>应发合计:</label>  
		               <input class="easyui-validatebox" type="text" name="hfaCount" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>扣款ID:</label>  
		               <input class="easyui-validatebox" type="text" name="hdeId" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>扣款金额:</label>  
		               <input class="easyui-validatebox" type="text" name="hdeDeductcount" data-options="required:true">
		           </div>   -->
		           <div class="fitem">  
		               <label>实发金额:</label>  
		               <input class="easyui-validatebox" type="text" name="hsaPaid" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>备注:</label>  
		               <input class="easyui-validatebox" type="text" name="hsaDesc" data-options="required:false">
		           </div>  
		           <div class="fitem">  
		               <label>系数:</label>  
		               <input class="easyui-validatebox" type="text" name="hsaNum" value="1.0" data-options="required:true">
		           </div>  		           
		           <!-- <div class="fitem">  
		               <label>工资状态:</label>  
		               <input class="easyui-validatebox" type="text" name="hsaStatus" data-options="required:true">
		           </div>  -->
	            </div>
     	</form>
  	 </div>
  <script type="text/javascript" src="<%=basePath%>/osjs/manpower/TostHrSalaryinfo.js"></script>
  
  	 <div id="create-data" class="easyui-dialog" title="自动生成工资表（按月份）" data-options="closed:true,iconCls:'icon-tip',modal:true"  style="width:400px;height:250px;">  
    	   <form name="form1">
    	   <div data-options="region:'north',split:true" style="height:185px;padding:10px" align="center">
    	   选择生成月份:：<input class='easyui-datebox' name='hsaMonth1' id="crmonth"/><br/>
                   	<br>
                   	<input type="button" id="btnok" value="全部生成">&nbsp;<input type="button" id="butregr" value="单个生成">
		    </div>
		    </form>
  	 </div>
  	 
  	 <div id="probarForm" class="easyui-dialog" title="自动生成工资表" data-options="closed:true,iconCls:'icon-tip',modal:true"  style="width:400px;height:250px;">
    	 <div data-options="region:'north',split:true" style="height:185px;padding:10px">
    	 	<p align="center">自动生成表中...</p>
    	   	<div id="probar"class="easyui-progressbar" style="width:350px"></div>
    	   	<p align="center">服务器操作中，请勿中断。中断操作可能会造成数据的回滚！</p>
		 </div>
  	 </div>
  	 </div>
  </body>
</html>